<script lang="ts" setup>
import { ref, toRaw } from 'vue'

interface Props {
    idName: number | ''
}

const props = defineProps<Props>()
const id = ref(toRaw(props.idName))

</script>
<template>
 <div>
    todo-detail
    <div>todo的Id为：{{ id }}</div>
 </div>
</template>